package com.xuetang9.fujian.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

/**
 * @describe:
 * @author:fujian
 * @date:2021/6/12
 * @Version: V1.0
 * @Package: com.xuetang9.fujian.model
 */
@SuppressWarnings("all")
public class User implements Serializable {
    private String account;
    private String password;
    private String nickName;
    private String signature;
    private String headPath;
    private String sex;
    private HashMap<Group, List<String>> groups;
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getHeadPath() {
        return headPath;
    }

    public void setHeadPath(String headPath) {
        this.headPath = headPath;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public HashMap<Group, List<String>> getGroups() {
        return groups;
    }

    public void setGroups(HashMap<Group, List<String>> groups) {
        this.groups = groups;
    }

    @Override
    public String toString() {
        return "User{" +
                "account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", nickName='" + nickName + '\'' +
                ", signature='" + signature + '\'' +
                ", headPath='" + headPath + '\'' +
                ", sex='" + sex + '\'' +
                ", groups=" + groups +
                '}';
    }
}
